<?php
class model_option extends lib_db_model {
	/**
	 * model 对应的 table
	 */
	private $_table='options';
	
	public $_field=array(
		'id'=>array(
			'$fieldName'=>'id'
		),
		'type'=>array(-
			'$fieldName'=>'type'
		),
		'name'=>array(-
			'$fieldName'=>'name'
		),
		'value'=>array(
			'$fieldName'=>'value'
		),
	);
/**
 * 
CREATE TABLE `options` (
`id` INT NOT NULL AUTO_INCREMENT ,
`type` INT NOT NULL ,
`name` VARCHAR( 32 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ,
`value` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ,
PRIMARY KEY ( `id` )
) ENGINE = MYISAM CHARACTER SET utf8 COLLATE utf8_general_ci;
 * 
 */
}
